package com.example.common.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

import java.io.Serializable;

@Data
@Entity
@Table(name = "homework_question")
public class HomeworkQuestion  {
    @Id
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    private String homeworkId;
    private String questionId;
    private int error;
    private double score;
}
